<!doctype html>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>Great site</title>
</head>
<body>
<h2>Available courses for now</h2>
<c:forEach items="${courses}" var="course">
    <h3><c:out value="${course.name}"/> (<c:out value="${course.date}"/>)</h3>
    Chapters for this course:<br/>
    <c:forEach items="${course.chapters}" var="chapter" varStatus="counter">
        <c:out value="${counter.count}"/>. <c:out value="${chapter.name}"/>
    </c:forEach>
</c:forEach>
<br/>
<br/>
Enjoy!
<form>

</form>
</body>
</html>